.container
    br
    div(data-ng-repeat="corp in userCorps")
        h1.city.teal {{corp.name}}
        .city-divider
        .line-panel(data-ng-repeat='department in corp.departmentList')
            h3.line-header {{department.name}}   
            .line-divider   
            .prj-panel(data-ng-repeat='user in department.userList',style="position:relative;border-bottom:1px solid #efefef;")
                input.ui.checkbox(type="checkbox",data-ng-model="user.checked" data-ng-disabled="user.hasAdminPower()" data-ng-change=" user.modified = true;;$event.stopPropagation();")
                img.img(src="{{user.avatar}}")
                .user-config-panel 
                    .real-name(data-variation="inverted",data-content="管理员是只读的,只有超级管理员才能修改",data-ng-class="{'disabled':user.hasAdminPower()}",data-ng-click="toggleUserCheck(user);$event.stopPropagation();") {{user.realName}}
                    .authenticate {{user.authentication.name}}


.confirm-panel
    .ui.button.green.tiny.confirm(data-ng-click="updateUserAuthorizedProjectList();$event.stopPropagation();") 
        .fa.fa-check.fa-1x
        |  确定
    .clear